export const getTime = () => {
  let sayHi = ''
  let hours = new Date().getHours()
  if (hours > 6 && hours < 12) {
    sayHi = '早上好'
  } else if (hours >= 12 && hours <= 14) {
    sayHi = '中午好'
  } else {
    sayHi = '晚上好'
  }

  return sayHi
}
